module ForumsHelper
  def forum_left_padding(forum)
    (forum.depth * 10).to_s + 'px'
  end
  
  def forum_dom_class(forum)
    forum.category? ? 'category' : 'forum'
  end
end
